package com.lablzh.gdxy.service;

import com.lablzh.gdxy.entity.admin.*;

import java.util.List;

public interface CollegesService {
    String addCollege(College college);

    String updateCollege(College college);

    String deleteCollege(Integer id);

    String addMajor(Major major);

    String updateMajor(Major major);

    String deleteMajor(Integer id);

    String addClasses(Classes classes);

    String updateClasses(Classes classes);

    String deleteClasses(Integer id);

    List<College> getAllCollege();


    List<Major> getMajorByCollege(String college);

    List<Classes> getClassesByMajor(String major);


    String addDepartment(Department department);

    String updateDepartment(Department department);

    String deleteDepartment(Integer id);

    College getCollegeById(Integer id);

    Major getMajorById(Integer id);

    Classes getClassesById(Integer id);

    Department getDepartmentById(Integer id);

    List<Department> getDepartmentByCollege(String college);

    String addLab(Lab lab);

    String updateLab(Lab lab);

    Lab getLabById(Integer id);

    List<Lab> getAllLab();

    String deleteLab(Integer id);
}
